<form id = "shipping_form" name = "shipping_form" action = "{$action}" method = "post" onsubmit = "return validateShippingMethods()">
<table id = "table_shippings">
  <tbody>
  {foreach from=$shipping_methods item=shipping name=shipping_for}
  <tr>
    <td style = "padding-top:5px; padding-bottom:5px">
      <input type = "radio" name = "sh_pr_method_id" id = "shipping_method[{$shipping->sh_pr_method_id}]" value = "{$shipping->sh_pr_method_id}" {if $smarty.foreach.shipping_for.iteration==1}checked = "checked"{/if} />
      <label for = "shipping_method[{$shipping->sh_pr_method_id}]">{$shipping->shipping_name} {if $shipping->shipping_stand_price > 0}({format_price price=$shipping->shipping_stand_price}){/if}</label>
      {if count($shipping->shipping_price)}
	  <br />
	  <table style = "margin-left:20px; margin-top:5px; border: 1px solid #000">
	  {foreach from=$shipping->shipping_price item=price}
      	<tr>
			<td>
				{$price->shipping_weight_from} - {$price->shipping_weight_to} {$smarty.const._UNOCART_WEIGHT_UNIT}
			</td>
			<td>
				{format_price price=$price->shipping_price}
			</td>
		</tr>
      {/foreach}
      </table>
      {/if}
	  <br />{$shipping->shipping_description}</td>
  </tr>
  {/foreach}
  </tbody>
</table>
<input type = "hidden" name = "option" value = "com_unocart" />
<input type = "hidden" name = "task" value = "checkout" />
<input type = "hidden" name = "step" value = "5" />
<input type = "hidden" name = "Itemid" value = "{$smarty.request.Itemid}" />
<input type = "submit" id = "payment_submit" class = "button" name = "payment_submit" value = "{$smarty.const._UNOCART_NEXT}" />
</form>